<?php get_header(); ?>


<!--Service  Block-->
<?php 
if ( is_home() ) { ?>
	<div class="services-wrap row">
	
		<?php
		if( get_option( 'students_for_change' )){ 
	
			if(of_get_option('blocks_checkbox','students_for_change') == "1"){ 
	
				get_template_part(''.$block = of_get_option('block_select', 'service').'');
			}
		} else {
			get_template_part('dummy/dummy','bloks');
		}
		?>
		
	</div> 
<?php 
}
?>
<!--Service Block End-->


<!--recent work-->
<?php 
if ( is_home() ) { ?>
	<div class="row"> 
	
		<div class="warp large-12 columns">
			<?php 
			if( get_option( 'students_for_change' )) { 
				if(of_get_option('recentwork_checkbox','students_for_change') == "1") {
					get_template_part('parts/mid','contant');
				}
			} else {
				get_template_part('dummy/dummy','contant');
			} ?> 
		</div>
		
	</div>		
<?php 
}
?>
<!--recent work end-->


<!-- Start Callout section -->
<?php 
if ( is_home() ) { 
?>

	<div class="  warp row">
		<div class=" large-12">
		
			<?php 
			if ( of_get_option('students_for_change_welcome') ) : ?>
				<section id="callout">
					<?php echo apply_filters('the_content', of_get_option('students_for_change_welcome')); ?>
				</section>
			<?php endif; ?>
		</div>
	</div>         
<?php } ?> 
<!-- END #callout -->


<!--LATEST POSTS-->
<?php 
if( get_option( 'students_for_change' )) {
	if ( is_home() ) {
		if(of_get_option('latstpst_checkbox') == "1") { ?>
			<div class="row "> 
				<div class="warp columns">
					<div class="title">
						<h2 class="blue1"><?php echo of_get_option('latest_blog'); ?></h2>
					</div>
				</div>
			</div>
			<?php get_template_part(''.$os_lays = of_get_option('layout1_images','layout1').''); 
		} else { 

		}
	} else {
		get_template_part(''.$os_lays = of_get_option('layout1_images', 'layout1').'');
	}
} else {
	get_template_part('dummy/dummy','layout1');
} ?> 
<!--LATEST POSTS END-->


<!--Our team-->
<?php 
if ( is_home() ) { ?>
	<div class="row "> 
		<div class="warp large-12 columns">
			<?php 
			if( get_option( 'students_for_change' )) {
				if(of_get_option('ourteam_checkbox','students_for_change') == "1") {
					get_template_part('parts/mid','team');
				}
			} else {
				get_template_part('dummy/dummy','team');
			} ?> 
		</div>
	</div>		
<?php }?>
<!--Our Team END-->


<!--Our client-->
<?php 
if( get_option( 'students_for_change' )) {
	if(of_get_option('ourclient_checkbox','students_for_change') == "1") { ?>
		<div class="row "> 
			<div class=" warp columns">
				<?php get_template_part('parts/our','client'); ?>
			</div>
		</div>
	<?php 
	} 
} else { 
	get_template_part('dummy/dummy','client');
} ?>
<!--Our Client END-->


<?php get_footer(); ?>